class CharacterClass < ActiveRecord::Base
  validates_uniqueness_of :name
  has_many :characters

  def image
    "class/#{self.name.downcase}.gif"
  end

end
